package com.xzc.refactory.object.moveField.selfEncapsulation.c1;

public class Account {
    private AccountType _type;
    //wait to move field
    private double _interestRate;

    double interestForAmount_days(double amount, int days) {
        return get_interestRate() * amount * days / 365;
    }

    public double get_interestRate() {
        return _interestRate;
    }

    public void set_interestRate(double _interestRate) {
        this._interestRate = _interestRate;
    }
}
